home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / UTIL / ParamRAM guard.sit / ParamRAM guard / PRAM Resource.h < prev    next >
C/C++ Source or Header  |  1994-01-09  |  724b  |  28 lines

  1. /*
  2.  ***********************************************************************
  3.  *
  4.  *                Layout of the 'HEXA' resource "Standard PRAM"
  5.  *            which is used to store PRAM/extended PRAM settings
  6.  *
  7.  ***********************************************************************
  8.  */
  9.  
  10. typedef unsigned short ushort;
  11.  
  12. struct PRAMSettings {
  13.  
  14.     SysParmType PRAM;                // PRAM on the clock chip
  15.     
  16.                                     // Extended PRAM
  17.     union {
  18.       char body [256];
  19.       struct {
  20.         ushort dummy1[52];                // Don't know what's in there, maybe date
  21.         ushort parm1[6];                // various parameters (I think)
  22.         ushort parm2[69];                // The rest of the 256-byte extended PRAM
  23.         ushort dummy2;                    // Isn't used at all (can't be written!)
  24.         } layout;
  25.     } extended_PRAM;
  26. };
  27.  
  28.